<?php
/* @var $this WineController */
/* @var $model Wine */
		
$this->layout = "column";
		
$wine_name = $model->vintage . " " . $model->grape_variety . " " . $model->location . " " . $model->quality;

$this->breadcrumbs=array(
	'Weine'=>array('admin'),
	$wine_name,
);
?>

<?php
$this->widget('zii.widgets.jui.CJuiTabs',array(
    'tabs'=>array(
    	'Übersicht'=>array('content'=>'Verlauf anzeigen: Wein eingelagert, verkauft, Verkostungsflaschen abgebucht', 'id'=>'tab1'),
        'Daten bearbeiten'=>$this->renderPartial('_form', array('model'=>$model), true),
        'Beschreibung'=>$this->renderPartial('_description_form', array('model'=>$model), true),
/*         'StaticTab 2'=>array('content'=>'Content for tab 2', 'id'=>'tab2'), */
        // panel 3 contains the content rendered by a partial view
        //'AjaxTab'=>array('ajax'=>$ajaxUrl),
    ),
    // additional javascript options for the tabs plugin
    'options'=>array(
        'collapsible'=>true,
    ),
));
?>
